package com.keyue.domain.vo.admin;

import lombok.*;
import lombok.experimental.SuperBuilder;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 用户表(AdminUser)实体类
 *
 * @author makejava
 * @since 2023-08-30 17:51:48
 */
@Data
@AllArgsConstructor
@ToString
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
@SuperBuilder
public class UpdatePwdVO implements Serializable {

    /**
     * 用户id
     */
    @NotNull(message = "用户id不存在!")
    private Long userId;

    /**
     * 密码
     */
    @NotBlank(message = "要修改的密码不能为空")
    private String password;

    /**
     * 确认密码
     */
    @NotBlank(message = "请二次确认要修改的密码")
    private String confirmPassword;

}

